package main

import (
	"flag"
	"gitee.com/talk9/z3box/core"
	"log"
)

func main() {
	_ = flag.String("t", "PHONE_REGION", "识别类型, 暂时只有手机号归属.")
	f := flag.String("f", "./文件名,txt", "文件地址.")
	sheet := flag.String("sheet", "Sheet1", "Excel sheet name.")
	u := flag.String("u", "A", "使用的列标签.")
	flag.Parse()

	log.Println("欢迎使用本公司电动车!")

	err := core.Iphone(*f, *sheet, *u)
	if err != nil {
		log.Fatalln("程序出错啦!", err)
	}

	log.Println("成功执行完毕!")
}
